<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#fa-icons">列表</a></li>
	</ul>
	
    <div class="box-body">
        <table class="table table-hover table-bordered" id="menus-table">
            <thead>
                <tr>
                    <th width="50">ID</th>
                    <th>名称</th>
                    <th width="100">类型</th>
                    <th width="100">访问次数</th>
                    <th width="140">添加时间</th>
                    <th width="80">操作</th>
                </tr>
            </thead>
            <tbody>
                {volist name="list" id="vo"}
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.name}</td>
                    <td>{$types[$vo['type']]}</td>
                    <td>{$vo.num}</td>
                    <td>{$vo.create_time}</td>
                    <td>
                        <div class="visible-md visible-lg hidden-sm hidden-xs">
                            <a href="{:Url('newslist',array('tagId'=>$vo['id']))}" class="btn btn-xs btn-info btn-flat" data-toggle="tooltip" data-placement="top" title="标签的文章列表"><i class="fa fa-list"></i></a>
                            <a href="{:Url('delete',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger btn-flat js-ajax-del" data-hint-msg="删除标签会同步删除对应的标签文章，确认删除？" data-toggle="tooltip" data-placement="top" title="删除当前栏目"><i class="fa fa-trash-o"></i></a>
                        </div>
                    </td>
                </tr>
                {/volist}
            </tbody>
        </table>
        <?php $page_show = $list->render(); echo !empty($page_show) ? $page_show : '';?>
    </div>
</div>